An opaque AAAAFFFFffffiiiilllleeeesssseeeettttuuuupppp structure initialized to the default configuration
for a new audio file opened with write access, or for opening a raw
(headerless) audio file for read access.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Use aaaaffffNNNNeeeewwwwFFFFiiiilllleeeeSSSSeeeettttuuuupppp(((()))) to create and initialize an AAAAFFFFffffiiiilllleeeesssseeeettttuuuupppp structure.
This structure passes configuration parameters to aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm), which
formats the skeleton for a new file accordingly.
When an AAAAFFFFffffiiiilllleeeesssseeeettttuuuupppp structure is no longer needed it should be discarded
with aaaaffffFFFFrrrreeeeeeeeFFFFiiiilllleeeeSSSSeeeettttuuuupppp(3dm). Freeing an AAAAFFFFffffiiiilllleeeesssseeeettttuuuupppp will not affect any
open AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure.
Configuration parameters include:
- the desired audio file format
- the number of audio tracks and the type of sample data stored in each
- the number of markers allocated for each track
- the number of instrument configurations (including loop points)
- the number of loops allocated for each instrument
- the number, types, and sizes of miscellaneous data chunks (strings,
etc)
- integer ID's for tracks, instruments, markers, loops, miscellaneous
data
For AIFF-C (and AIFF) files, the above list of parameters simplifies a
bit. There is always one audio track per file. There is at most one
instrument configuration per file, and there are always two loops per
instrument.
To initialize the various file configuration parameters stored in an
AAAAFFFFffffiiiilllleeeesssseeeettttuuuupppp structure, see the initialization routines mentioned below in